<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加项目信息</title>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/bootstrap.min.css">
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/bootstrap-datetimepicker.min.css">
<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/bootstrap-theme.min.css" >
<!-- 最新的 Bootstrap 核心 JavaScript 文件  要将jquery的包放在bootstrap之前-->
<script src="<%=request.getContextPath() %>/js/jquery-1.9.1.js"></script>
<script src="<%=request.getContextPath() %>/js/bootstrap.min.js"></script>
<script src="<%=request.getContextPath() %>/js/bootstrap-datetimepicker.min.js"></script>
<script src="<%=request.getContextPath() %>/js/bootstrap-datetimepicker.zh-CN.js"></script>
</head>
<body>
<form class="form-horizontal" action="<%=request.getContextPath() %>/saveProjectAction" method="post" enctype="multipart/form-data">
  <div class="form-group" style="margin-top:20px;">
    <label for="inputEmail3" class="col-sm-2 control-label">项目名称</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.projectName" placeholder="项目名称">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">项目编码</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.projectCode"  placeholder="项目编码">
    </div>
  </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">电压等级</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.voltage"  placeholder="电压等级">
    </div>
  </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">创建人</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.createUser"  placeholder="创建人">
    </div>
  </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">项目单位</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.projectUnit"  placeholder="项目单位">
    </div>
  </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">项目类型</label>
    <div class="col-xs-4">
      <input type="text" class="form-control" name="saveProject.projectType"  placeholder="项目类型">
    </div>
  </div>
  
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">附件</label>
    <div class="col-xs-4">
    <input type="file" id="exampleInputFile" name="myFile">
    <p class="help-block">在这里添加附件</p>
    </div>
  </div>

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-success btn-lg">添加项目</button>
    </div>
  </div>
</form>
</body>
</html>